package com.codechen.scaffold.books.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.codechen.scaffold.books.domain.entity.BookWithUser;
import com.codechen.scaffold.books.domain.req.BookRentQueryRequest;
import org.apache.ibatis.annotations.Param;

public interface BookWithUserMapper extends BaseMapper<BookWithUser> {

	IPage<BookWithUser> queryList(Page<BookWithUser> page, @Param("req")BookRentQueryRequest req);

}
